<?php

class GestdentHorarioFormCustomBox extends sfForm
{
  public function configure()
  {
    $this->setWidgets(array(
    'box_id' => new sfWidgetFormPropelChoice(array('model' => 'GestdentBox', 'add_empty' => false)),
    ));

    $this->widgetSchema['box_id']->setOption('label','Seleccionar Box');
    
    $this->setValidators(array(
    'box_id' => new sfValidatorPropelChoice(array('model' => 'GestdentBox', 'column' => 'id', 'required' => true)),
    ));
  }
}